{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "e6c39cd3",
   "metadata": {},
   "outputs": [],
   "source": [
    "import time #时间处理标准库\n",
    "import requests\n",
    "from bs4 import BeautifulSoup\n",
    "import pandas as pd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "785d1916",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://movie.douban.com/subject/26999852/comments?percent_type=m&start=0&limit=20&status=P&sort=new_score&comments_only=1?start=0\n",
      "https://movie.douban.com/subject/26999852/comments?percent_type=m&start=0&limit=20&status=P&sort=new_score&comments_only=1?start=20\n",
      "https://movie.douban.com/subject/26999852/comments?percent_type=m&start=0&limit=20&status=P&sort=new_score&comments_only=1?start=40\n",
      "https://movie.douban.com/subject/26999852/comments?percent_type=m&start=0&limit=20&status=P&sort=new_score&comments_only=1?start=60\n",
      "https://movie.douban.com/subject/26999852/comments?percent_type=m&start=0&limit=20&status=P&sort=new_score&comments_only=1?start=80\n",
      "                                                 评论内容\n",
      "0   于正很懂，他知道大家不喜欢看宫斗了，于是拍了一部百合剧，一群不想跟皇帝睡、压根不搭理皇帝的女...\n",
      "1   其实无论是“大红大绿”还是“灰色调”，色彩本身没有高下之分，关键看是否合时宜。画面不错，希望...\n",
      "2   讲真每次看到高贵妃和舒贵人在屋里商议大事的时候，我就想到宠物小精灵里面的火箭队武藏小次郎，每...\n",
      "3                                     比我想的好。富察皇后感觉很棒啊\n",
      "4   于正这次的确脱胎换骨，但，所谓脱胎换骨也就是和自己比。依旧各种套路与反套路组合拳，撑死《甄嬛...\n",
      "..                                                ...\n",
      "95  很喜欢这剧的调色，妆发也很有感觉。这个皇帝真有意思，毒舌就算了，还一言不合就拳打脚踢😂，剧还...\n",
      "96  看片花调色总感觉阴森森的，正片看起来倒还可以，和于妈以往风格不一样，剧情还不错，女主难得一开...\n",
      "97               大长今+甄嬛传+蹭如懿传，于正真的投机倒把能手，和所有的逼都让女主角装了\n",
      "98                             男主角怎么这么毒舌，哈哈哈哈哈哈哈哈笑死我了\n",
      "99              可算完结了！最后一集看哭是怎么回事！高贵妃和袁春望是在用演技隔空凑CP么。\n",
      "\n",
      "[100 rows x 1 columns]\n"
     ]
    }
   ],
   "source": [
    "# 模拟浏览器头部信息，向豆瓣服务器发送消息\n",
    "headers = {'User-Agent': \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0\"}\n",
    "##爬取差评\n",
    "#target = \"https://movie.douban.com/subject/35890350/comments?percent_type=l&start=0&limit=20&status=P&sort=new_score&comments_only=1\"\n",
    "target=\"https://movie.douban.com/subject/26999852/comments?percent_type=m&start=0&limit=20&status=P&sort=new_score&comments_only=1\"\n",
    "#爬取前5页的评论\n",
    "max_pages = 5\n",
    "comments_low = []\n",
    "for page in range(max_pages):\n",
    "    # 获取HTML页面信息\n",
    "    response = requests.get(url = target\n",
    "                            + '?start=' + str(page * 20)#遍历每一页的20条评论\n",
    "                            , headers = headers\n",
    "                            )\n",
    "    print(response.url)\n",
    "    response.encoding = 'utf-8'\n",
    "    soup = BeautifulSoup(response.text, 'lxml')\n",
    "    comment_elements_low = soup.find_all('span', {'class': 'short'})\n",
    "    for element in comment_elements_low:\n",
    "        comments_low.append(element.text.strip())\n",
    "        time.sleep(1) #设置休眠时间，防止被检测\n",
    "data = {'评论内容': comments_low}\n",
    "df_low = pd.DataFrame(data)\n",
    "print(df_low)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "id": "c81d6bcb",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Response [200]>"
      ]
     },
     "execution_count": 33,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#爬取当页20条评论\n",
    "target = \"https://movie.douban.com/subject/26999852/comments?percent_type=m&start=0&limit=20&status=P&sort=new_score&comments_only=1\"\n",
    "response = requests.get(url = target+ '?start=' + str(20),headers=headers)\n",
    "response"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "id": "e2db076e",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<!DOCTYPE html>\n",
       "<html class=\"ua-windows ua-webkit\" lang=\"zh-CN\">\n",
       "<head>\n",
       "<meta content=\"text/html; charset=utf-8\" http-equiv=\"Content-Type\"/>\n",
       "<meta content=\"webkit\" name=\"renderer\"/>\n",
       "<meta content=\"always\" name=\"referrer\"/>\n",
       "<meta content=\"ok0wCgT20tBBgo9_zat2iAcimtN4Ftf5ccsh092Xeyw\" name=\"google-site-verification\"/>\n",
       "<title>\n",
       "\n",
       "延禧攻略 短评\n",
       "</title>\n",
       "<meta content=\"cZdR4xxR7RxmM4zE\" name=\"baidu-site-verification\"/>\n",
       "<meta content=\"no-cache\" http-equiv=\"Pragma\"/>\n",
       "<meta content=\"Sun, 6 Mar 2006 01:00:00 GMT\" http-equiv=\"Expires\"/>\n",
       "<meta content=\"延禧攻略,影讯,排片,放映时间,电影票价,在线购票\" name=\"keywords\"/>\n",
       "<meta content=\"延禧攻略短评\" name=\"description\"/>\n",
       "<meta content=\"format=html5; url=https://m.douban.com/movie/subject/26999852/comments\" name=\"mobile-agent\"/>\n",
       "<link href=\"https://img1.doubanio.com/cuphead/movie-static/pics/apple-touch-icon.png\" rel=\"apple-touch-icon\"/>\n",
       "<link href=\"https://img1.doubanio.com/f/vendors/e92483e5e4c9c60cc75cbd8b700a2fd5b5fdf7b0/css/douban.css\" rel=\"stylesheet\" type=\"text/css\"/>\n",
       "<link href=\"https://img1.doubanio.com/f/vendors/ee6598d46af0bc554cecec9bcbf525b9b0582cb0/css/separation/_all.css\" rel=\"stylesheet\" type=\"text/css\"/>\n",
       "<link href=\"https://img1.doubanio.com/cuphead/movie-static/base/init.15f4b.css\" rel=\"stylesheet\"/>\n",
       "<script type=\"text/javascript\">var _head_start = new Date();</script>\n",
       "<script src=\"https://img1.doubanio.com/f/vendors/0511abe9863c2ea7084efa7e24d1d86c5b3974f1/js/jquery-1.10.2.min.js\" type=\"text/javascript\"></script>\n",
       "<script src=\"https://img1.doubanio.com/f/vendors/bdcc3c1ecb6de06ac99661953f4731c39e72af7f/js/douban.js\" type=\"text/javascript\"></script>\n",
       "<script src=\"https://img1.doubanio.com/f/vendors/b0d3faaf7a432605add54908e39e17746824d6cc/js/separation/_all.js\" type=\"text/javascript\"></script>\n",
       "<style type=\"text/css\"></style>\n",
       "<style type=\"text/css\">img { max-width: 100%; }</style>\n",
       "<script type=\"text/javascript\"></script>\n",
       "<style type=\"text/css\">\n",
       "    .movie-summary {overflow:hidden; zoom:1;}\n",
       "    .movie-summary .movie-pic {margin-bottom:15px; margin-top:3px;}\n",
       "    .movie-summary p {margin:3px 0; padding-left:2.5em; text-indent:-2.5em; color:#111;}\n",
       "    .movie-summary p .pl, .movie-summary p a:link , .movie-summary p a:visited{color:#111;}\n",
       "    .movie-summary p a:hover {color:#fff;}\n",
       "    .trail_link,.trail_link:visited,.trail_link:hover,.trail_link:active {margin-top:5px; display:block; height:28px; width:96px; background:url('https://img3.doubanio.com/cuphead/movie-static/pics/movie_trailer_icon2.png'); overflow:hidden; line-height:99em;}\n",
       "</style>\n",
       "<link href=\"https://img1.doubanio.com/favicon.ico\" rel=\"shortcut icon\" type=\"image/x-icon\"/>\n",
       "</head>\n",
       "<body>\n",
       "<script type=\"text/javascript\">var _body_start = new Date();</script>\n",
       "<link href=\"//img3.doubanio.com/dae/accounts/resources/78fadc7/shire/bundle.css\" rel=\"stylesheet\" type=\"text/css\"/>\n",
       "<div class=\"global-nav\" id=\"db-global-nav\">\n",
       "<div class=\"bd\">\n",
       "<div class=\"top-nav-info\">\n",
       "<a class=\"nav-login\" href=\"https://accounts.douban.com/passport/login?source=movie\" rel=\"nofollow\">登录/注册</a>\n",
       "</div>\n",
       "<div class=\"top-nav-doubanapp\">\n",
       "<a class=\"lnk-doubanapp\" href=\"https://www.douban.com/doubanapp/app?channel=top-nav\">下载豆瓣客户端</a>\n",
       "<div id=\"doubanapp-tip\">\n",
       "<a class=\"tip-link\" href=\"https://www.douban.com/doubanapp/app?channel=qipao\">豆瓣 <span class=\"version\">6.0</span> 全新发布</a>\n",
       "<a class=\"tip-close\" href=\"javascript: void 0;\">×</a>\n",
       "</div>\n",
       "<div class=\"more-items\" id=\"top-nav-appintro\">\n",
       "<p class=\"appintro-title\">豆瓣</p>\n",
       "<p class=\"qrcode\">扫码直接下载</p>\n",
       "<div class=\"download\">\n",
       "<a href=\"https://www.douban.com/doubanapp/redirect?channel=top-nav&amp;direct_dl=1&amp;download=iOS\">iPhone</a>\n",
       "<span>·</span>\n",
       "<a class=\"download-android\" href=\"https://www.douban.com/doubanapp/redirect?channel=top-nav&amp;direct_dl=1&amp;download=Android\">Android</a>\n",
       "</div>\n",
       "</div>\n",
       "</div>\n",
       "<div class=\"global-nav-items\">\n",
       "<ul>\n",
       "<li class=\"\">\n",
       "<a data-moreurl-dict='{\"from\":\"top-nav-click-main\",\"uid\":\"0\"}' href=\"https://www.douban.com\" target=\"_blank\">豆瓣</a>\n",
       "</li>\n",
       "<li class=\"\">\n",
       "<a data-moreurl-dict='{\"from\":\"top-nav-click-book\",\"uid\":\"0\"}' href=\"https://book.douban.com\" target=\"_blank\">读书</a>\n",
       "</li>\n",
       "<li class=\"on\">\n",
       "<a data-moreurl-dict='{\"from\":\"top-nav-click-movie\",\"uid\":\"0\"}' href=\"https://movie.douban.com\">电影</a>\n",
       "</li>\n",
       "<li class=\"\">\n",
       "<a data-moreurl-dict='{\"from\":\"top-nav-click-music\",\"uid\":\"0\"}' href=\"https://music.douban.com\" target=\"_blank\">音乐</a>\n",
       "</li>\n",
       "<li class=\"\">\n",
       "<a data-moreurl-dict='{\"from\":\"top-nav-click-location\",\"uid\":\"0\"}' href=\"https://www.douban.com/location\" target=\"_blank\">同城</a>\n",
       "</li>\n",
       "<li class=\"\">\n",
       "<a data-moreurl-dict='{\"from\":\"top-nav-click-group\",\"uid\":\"0\"}' href=\"https://www.douban.com/group\" target=\"_blank\">小组</a>\n",
       "</li>\n",
       "<li class=\"\">\n",
       "<a data-moreurl-dict='{\"from\":\"top-nav-click-read\",\"uid\":\"0\"}' href=\"https://read.douban.com/?dcs=top-nav&amp;dcm=douban\" target=\"_blank\">阅读</a>\n",
       "</li>\n",
       "<li class=\"\">\n",
       "<a data-moreurl-dict='{\"from\":\"top-nav-click-fm\",\"uid\":\"0\"}' href=\"https://fm.douban.com/?from_=shire_top_nav\" target=\"_blank\">FM</a>\n",
       "</li>\n",
       "<li class=\"\">\n",
       "<a data-moreurl-dict='{\"from\":\"top-nav-click-time\",\"uid\":\"0\"}' href=\"https://time.douban.com/?dt_time_source=douban-web_top_nav\" target=\"_blank\">时间</a>\n",
       "</li>\n",
       "<li class=\"\">\n",
       "<a data-moreurl-dict='{\"from\":\"top-nav-click-market\",\"uid\":\"0\"}' href=\"https://market.douban.com/?utm_campaign=douban_top_nav&amp;utm_source=douban&amp;utm_medium=pc_web\" target=\"_blank\">豆品</a>\n",
       "</li>\n",
       "</ul>\n",
       "</div>\n",
       "</div>\n",
       "</div>\n",
       "<script>\n",
       "  ;window._GLOBAL_NAV = {\n",
       "    DOUBAN_URL: \"https://www.douban.com\",\n",
       "    N_NEW_NOTIS: 0,\n",
       "    N_NEW_DOUMAIL: 0\n",
       "  };\n",
       "</script>\n",
       "<script defer=\"defer\" src=\"//img3.doubanio.com/dae/accounts/resources/78fadc7/shire/bundle.js\"></script>\n",
       "<link href=\"//img3.doubanio.com/dae/accounts/resources/78fadc7/movie/bundle.css\" rel=\"stylesheet\" type=\"text/css\"/>\n",
       "<div class=\"nav\" id=\"db-nav-movie\">\n",
       "<div class=\"nav-wrap\">\n",
       "<div class=\"nav-primary\">\n",
       "<div class=\"nav-logo\">\n",
       "<a href=\"https://movie.douban.com\">豆瓣电影</a>\n",
       "</div>\n",
       "<div class=\"nav-search\">\n",
       "<form action=\"https://search.douban.com/movie/subject_search\" method=\"get\">\n",
       "<fieldset>\n",
       "<legend>搜索：</legend>\n",
       "<label for=\"inp-query\">\n",
       "</label>\n",
       "<div class=\"inp\"><input id=\"inp-query\" maxlength=\"60\" name=\"search_text\" placeholder=\"搜索电影、电视剧、综艺、影人\" size=\"22\" value=\"\"/></div>\n",
       "<div class=\"inp-btn\"><input type=\"submit\" value=\"搜索\"/></div>\n",
       "<input name=\"cat\" type=\"hidden\" value=\"1002\"/>\n",
       "</fieldset>\n",
       "</form>\n",
       "</div>\n",
       "</div>\n",
       "</div>\n",
       "<div class=\"nav-secondary\">\n",
       "<div class=\"nav-items\">\n",
       "<ul>\n",
       "<li><a href=\"https://movie.douban.com/cinema/nowplaying/\">影讯&amp;购票</a>\n",
       "</li>\n",
       "<li><a href=\"https://movie.douban.com/explore\">选电影</a>\n",
       "</li>\n",
       "<li><a href=\"https://movie.douban.com/tv/\">电视剧</a>\n",
       "</li>\n",
       "<li><a href=\"https://movie.douban.com/chart\">排行榜</a>\n",
       "</li>\n",
       "<li><a href=\"https://movie.douban.com/review/best/\">影评</a>\n",
       "</li>\n",
       "<li><a href=\"https://movie.douban.com/annual/2023/?fullscreen=1&amp;source=navigation\">2023年度榜单</a>\n",
       "</li>\n",
       "<li><a href=\"https://c9.douban.com/app/standbyme-2023/?autorotate=false&amp;fullscreen=true&amp;hidenav=true&amp;monitor_screenshot=true&amp;source=web_navigation\" target=\"_blank\">2023年度报告</a>\n",
       "</li>\n",
       "</ul>\n",
       "</div>\n",
       "<a class=\"movieannual\" href=\"https://movie.douban.com/annual/2023/?fullscreen=1&amp;source=movie_navigation\"></a>\n",
       "</div>\n",
       "</div>\n",
       "<script id=\"suggResult\" type=\"text/x-jquery-tmpl\">\n",
       "  <li data-link=\"{{= url}}\">\n",
       "            <a href=\"{{= url}}\" onclick=\"moreurl(this, {from:'movie_search_sugg', query:'{{= keyword }}', subject_id:'{{= id}}', i: '{{= index}}', type: '{{= type}}'})\">\n",
       "            <img src=\"{{= img}}\" width=\"40\" />\n",
       "            <p>\n",
       "                <em>{{= title}}</em>\n",
       "                {{if year}}\n",
       "                    <span>{{= year}}</span>\n",
       "                {{/if}}\n",
       "                {{if sub_title}}\n",
       "                    <br /><span>{{= sub_title}}</span>\n",
       "                {{/if}}\n",
       "                {{if address}}\n",
       "                    <br /><span>{{= address}}</span>\n",
       "                {{/if}}\n",
       "                {{if episode}}\n",
       "                    {{if episode==\"unknow\"}}\n",
       "                        <br /><span>集数未知</span>\n",
       "                    {{else}}\n",
       "                        <br /><span>共{{= episode}}集</span>\n",
       "                    {{/if}}\n",
       "                {{/if}}\n",
       "            </p>\n",
       "        </a>\n",
       "        </li>\n",
       "  </script>\n",
       "<script defer=\"defer\" src=\"//img3.doubanio.com/dae/accounts/resources/78fadc7/movie/bundle.js\"></script>\n",
       "<div id=\"wrapper\">\n",
       "<div id=\"content\">\n",
       "<h1>延禧攻略 短评</h1>\n",
       "<div class=\"grid-16-8 clearfix\">\n",
       "<div class=\"article\">\n",
       "<link href=\"https://img1.doubanio.com/f/vendors/e8a7261937da62636d22ca4c579efc4a4d759b1b/css/ui/dialog.css\" rel=\"stylesheet\"/>\n",
       "<link href=\"https://img1.doubanio.com/f/vendors/9aae5c6f1a6c1ef339d7c9a37d69641086bd6917/subject-comments/comments.css\" rel=\"stylesheet\"/>\n",
       "<div class=\"clearfix Comments-hd\">\n",
       "<ul class=\"fleft CommentTabs\">\n",
       "<li class=\"is-active\">\n",
       "<span>看过(152565)</span>\n",
       "</li>\n",
       "<li>\n",
       "<a href=\"?status=N\">在看(9877)</a>\n",
       "</li>\n",
       "<li>\n",
       "<a href=\"?status=F\">想看(1498)</a>\n",
       "</li>\n",
       "</ul>\n",
       "<div class=\"fright\">\n",
       "<a class=\"comment_btn j a_show_login\" href=\"javascript:;\" name=\"cbtn-26999852\">我来写短评</a>\n",
       "</div>\n",
       "</div>\n",
       "<div class=\"title_line clearfix color_gray\">\n",
       "<div class=\"fleft Comments-sortby\">\n",
       "<span>热门</span>\n",
       "<a class=\"j a_show_login\" href=\"?sort=time&amp;status=P\">最新</a>\n",
       "<!-- 登录用户可见 -->\n",
       "</div>\n",
       "</div>\n",
       "<div class=\"comment-filter\">\n",
       "<label>\n",
       "<input name=\"sort\" type=\"radio\" value=\"\"/>\n",
       "<span class=\"filter-name\">全部</span>\n",
       "</label>\n",
       "<label>\n",
       "<input name=\"sort\" type=\"radio\" value=\"h\"/>\n",
       "<span class=\"filter-name\">好评</span>\n",
       "</label>\n",
       "<label>\n",
       "<input checked=\"checked\" name=\"sort\" type=\"radio\" value=\"m\"/>\n",
       "<span class=\"filter-name\">一般</span>\n",
       "</label>\n",
       "<label>\n",
       "<input name=\"sort\" type=\"radio\" value=\"l\"/>\n",
       "<span class=\"filter-name\">差评</span>\n",
       "</label>\n",
       "</div>\n",
       "<div class=\"mod-bd\" id=\"comments\">\n",
       "<div class=\"comment-item\" data-cid=\"1411970910\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/82880498/\" title=\"孔鲤\">\n",
       "<img class=\"\" src=\"https://img3.doubanio.com/icon/u82880498-2.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">8919</span>\n",
       "<input type=\"hidden\" value=\"1411970910\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1411970910\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/82880498/\">孔鲤</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-07-20 18:44:01\">\n",
       "                    2018-07-20 18:44:01\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">于正很懂，他知道大家不喜欢看宫斗了，于是拍了一部百合剧，一群不想跟皇帝睡、压根不搭理皇帝的女人的斗争，完全反着《甄嬛传》来。女主不耍心机，也不是白莲花。但是各种主动出击，怼人从不落下风。第一次看到这种女性向的爽剧，居然看得我津津有味……</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1411970910\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1394674592\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/172079699/\" title=\"小蓝\">\n",
       "<img class=\"\" src=\"https://img2.doubanio.com/icon/u172079699-1.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">2900</span>\n",
       "<input type=\"hidden\" value=\"1394674592\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1394674592\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/172079699/\">小蓝</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-07-19 16:18:34\">\n",
       "                    2018-07-19 16:18:34\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">其实无论是“大红大绿”还是“灰色调”，色彩本身没有高下之分，关键看是否合时宜。画面不错，希望以后再多注重一些剧情台词，再接再厉。\n",
       "</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1394674592\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1421798530\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/skdleo/\" title=\"狸猫\">\n",
       "<img class=\"\" src=\"https://img3.doubanio.com/icon/u2369477-113.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">955</span>\n",
       "<input type=\"hidden\" value=\"1421798530\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1421798530\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/skdleo/\">狸猫</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-07-30 21:30:59\">\n",
       "                    2018-07-30 21:30:59\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">讲真每次看到高贵妃和舒贵人在屋里商议大事的时候，我就想到宠物小精灵里面的火箭队武藏小次郎，每次都那么认真地策划阴谋，成功率几乎是0，也真是可爱又迷人的反派了。。。</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1421798530\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1411168452\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/156929991/\" title=\"芊颖\">\n",
       "<img class=\"\" src=\"https://img2.doubanio.com/icon/u156929991-21.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">1151</span>\n",
       "<input type=\"hidden\" value=\"1411168452\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1411168452\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/156929991/\">芊颖</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-07-19 22:01:34\">\n",
       "                    2018-07-19 22:01:34\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">比我想的好。富察皇后感觉很棒啊</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1411168452\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1411379917\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/ruo1996/\" title=\"徐若风\">\n",
       "<img class=\"\" src=\"https://img9.doubanio.com/icon/u52623934-36.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">512</span>\n",
       "<input type=\"hidden\" value=\"1411379917\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1411379917\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/ruo1996/\">徐若风</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-07-20 01:39:37\">\n",
       "                    2018-07-20 01:39:37\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">于正这次的确脱胎换骨，但，所谓脱胎换骨也就是和自己比。依旧各种套路与反套路组合拳，撑死《甄嬛传》一半水平。\n",
       "秦岚佘诗曼聂远都挺好的，拖后腿的演员是谭卓，简直端上来个“坏女人”程式套餐。\n",
       "但后半程，的确有值得学习之处，剧情处理短平快、为全民式爆红提供话题基础。 \n",
       "#结局打卡，真情错意，两个皇后与一个皇贵妃的人生命运已经够说事了。</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1411379917\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1412688500\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/144413576/\" title=\"橙曦羽潞\">\n",
       "<img class=\"\" src=\"https://img9.doubanio.com/icon/u144413576-16.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">233</span>\n",
       "<input type=\"hidden\" value=\"1412688500\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1412688500\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/144413576/\">橙曦羽潞</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-07-21 13:43:01\">\n",
       "                    2018-07-21 13:43:01\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">剧情紧凑的 一口气看了12集 意犹未尽 色调看着也舒服 这次于妈没有乱来了 只是越到后期越套路了</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1412688500\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1411140065\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/174108276/\" title=\"七七\">\n",
       "<img class=\"\" src=\"https://img2.doubanio.com/icon/u174108276-1.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">274</span>\n",
       "<input type=\"hidden\" value=\"1411140065\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1411140065\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/174108276/\">七七</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-07-19 21:35:49\">\n",
       "                    2018-07-19 21:35:49\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">为了佘诗曼来的，毕竟刚开播，先三星观望</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1411140065\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1414836137\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/petitespot/\" title=\"小斑\">\n",
       "<img class=\"\" src=\"https://img3.doubanio.com/icon/u1548489-33.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">74</span>\n",
       "<input type=\"hidden\" value=\"1414836137\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1414836137\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/petitespot/\">小斑</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-07-23 16:28:44\">\n",
       "                    2018-07-23 16:28:44\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">看了两集。颜色调得太过了，显得所有人都不怎么有生气。剧情反正就这么回事了，大家都不讲究again。好在女主的人设比较刁钻，收人头收得比较爽。谜之减压。这么多年了，我还是怀念聂远的腮帮子……</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1414836137\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1416088572\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/angle223/\" title=\"不良生\">\n",
       "<img class=\"\" src=\"https://img3.doubanio.com/icon/u2065435-42.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">77</span>\n",
       "<input type=\"hidden\" value=\"1416088572\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1416088572\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/angle223/\">不良生</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-07-29 22:08:43\">\n",
       "                    2018-07-29 22:08:43\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">听起来比看起来更喜欢——它竟然请来了《金枝欲孽》的配乐班底：曾创作出“笛子二重奏”的陈国梁、“咏叹调”的女声原唱李君筑、负责萧与笛子演奏的谭宝硕，三人再度集结参与本剧音乐创作，这让我等金枝余党顿时连耳毛都喷张；给佘诗曼配音的是苏柏丽，分分秒恍惚尔淳还魂。 </span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1416088572\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1414917106\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/blueriver007/\" title=\"小川叔\">\n",
       "<img class=\"\" src=\"https://img1.doubanio.com/icon/u1325623-708.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">167</span>\n",
       "<input type=\"hidden\" value=\"1414917106\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1414917106\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/blueriver007/\">小川叔</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-07-23 18:04:08\">\n",
       "                    2018-07-23 18:04:08\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">发泄你愤怒的爽文，没有女主光环你是活不到最后的。撕逼很反转都很的特别爽，就是魏姐每次撒娇扮女人，都容易不寒而栗。。。前一半靠皇后和高贵妃，后面靠聂远和佘诗曼撑，想想如果去掉这4个，就魏姐和一堆整容鬼，应该也看不下去的。。看花絮，撒糖部分应该有很多是聂远老师的设计，真的是太戏霸了，给他点赞。</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1414917106\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1412815874\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/128344869/\" title=\"吃瓜少年\">\n",
       "<img class=\"\" src=\"https://img3.doubanio.com/icon/u128344869-2.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">87</span>\n",
       "<input type=\"hidden\" value=\"1412815874\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1412815874\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/128344869/\">吃瓜少年</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-07-21 16:09:14\">\n",
       "                    2018-07-21 16:09:14\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">居然还可以，贵妃嚣张得有点脸谱化，皇后的宫女戏真多</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1412815874\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1452253864\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/flowermumu/\" title=\"欢乐分裂\">\n",
       "<img class=\"\" src=\"https://img3.doubanio.com/icon/u1147451-102.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">45</span>\n",
       "<input type=\"hidden\" value=\"1452253864\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1452253864\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/flowermumu/\">欢乐分裂</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-08-27 23:30:01\">\n",
       "                    2018-08-27 23:30:01\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">原本就不是正剧，因此剧情漏洞百出也在情理之中，模拟职场升迁的步步通关，在如今的时代可算很应景了，极为精准地掐准大众喜好命脉也算棋高一着，不断地反套路让观众欲罢不能，是谓有毒；最值得称道的是配色营造的质感，几乎可以用赏心悦目来形容，淡雅素净清丽温婉，加上主配卡司总体合格，总体非常讨喜；白月光皇后与女主的百合cp堪称全局最动人，赢得最多好感。</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1452253864\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1411262724\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/148394577/\" title=\"接十分钟的吻\">\n",
       "<img class=\"\" src=\"https://img9.doubanio.com/icon/u148394577-36.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">265</span>\n",
       "<input type=\"hidden\" value=\"1411262724\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1411262724\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/148394577/\">接十分钟的吻</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-07-19 23:20:29\">\n",
       "                    2018-07-19 23:20:29\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">调色终于正常了，佘诗曼秦岚聂远是我追下去的动力，</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1411262724\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1444053396\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/2849243/\" title=\"shininglove\">\n",
       "<img class=\"\" src=\"https://img1.doubanio.com/icon/u2849243-110.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">46</span>\n",
       "<input type=\"hidden\" value=\"1444053396\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1444053396\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/2849243/\">shininglove</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-08-20 15:22:50\">\n",
       "                    2018-08-20 15:22:50\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">宫斗剧反类型，上市新口味，另类金手指，释放了观众对现实生活中的权力焦虑。</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1444053396\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1420561205\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/haha65ma/\" title=\"柳无码🌈\">\n",
       "<img class=\"\" src=\"https://img1.doubanio.com/icon/u19200301-9.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">111</span>\n",
       "<input type=\"hidden\" value=\"1420561205\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1420561205\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/haha65ma/\">柳无码🌈</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-07-29 18:15:20\">\n",
       "                    2018-07-29 18:15:20\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">1看得出，于妈努力了；2高贵妃用力过猛，就没人提醒她收着点儿劲儿吗，仪态好差；3宫女普遍胆儿肥，话太多；4金枝欲孽的bgm不时出现，甄嬛传的影子时隐时现</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1420561205\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1412458799\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/66428405/\" title=\"顾俏乜\">\n",
       "<img class=\"\" src=\"https://img1.doubanio.com/icon/u66428405-38.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">55</span>\n",
       "<input type=\"hidden\" value=\"1412458799\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1412458799\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/66428405/\">顾俏乜</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-07-21 08:50:06\">\n",
       "                    2018-07-21 08:50:06\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">很喜欢这剧的调色，妆发也很有感觉。这个皇帝真有意思，毒舌就算了，还一言不合就拳打脚踢😂，剧还不错，就是配音有点怪。</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1412458799\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1411144206\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/165023952/\" title=\"潇湘烟雨\">\n",
       "<img class=\"\" src=\"https://img2.doubanio.com/icon/u165023952-1.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">173</span>\n",
       "<input type=\"hidden\" value=\"1411144206\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1411144206\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/165023952/\">潇湘烟雨</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-07-19 21:39:47\">\n",
       "                    2018-07-19 21:39:47\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">看片花调色总感觉阴森森的，正片看起来倒还可以，和于妈以往风格不一样，剧情还不错，女主难得一开头不是白莲花傻白甜，就是颜值实在是低了点，不太合眼缘，再看看吧</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1411144206\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1412965175\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/nirvanainfire/\" title=\"prayer\">\n",
       "<img class=\"\" src=\"https://img2.doubanio.com/icon/u3048462-111.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">71</span>\n",
       "<input type=\"hidden\" value=\"1412965175\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1412965175\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/nirvanainfire/\">prayer</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-07-21 18:52:20\">\n",
       "                    2018-07-21 18:52:20\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">大长今+甄嬛传+蹭如懿传，于正真的投机倒把能手，和所有的逼都让女主角装了</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1412965175\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1412895193\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/155618809/\" title=\"然悔悟\">\n",
       "<img class=\"\" src=\"https://img2.doubanio.com/icon/u155618809-1.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">33</span>\n",
       "<input type=\"hidden\" value=\"1412895193\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1412895193\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/155618809/\">然悔悟</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-07-21 17:34:16\">\n",
       "                    2018-07-21 17:34:16\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">男主角怎么这么毒舌，哈哈哈哈哈哈哈哈笑死我了</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1412895193\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"comment-item\" data-cid=\"1451128496\">\n",
       "<div class=\"avatar\">\n",
       "<a href=\"https://www.douban.com/people/lephemera/\" title=\"蜉蝣\">\n",
       "<img class=\"\" src=\"https://img9.doubanio.com/icon/u2744437-144.jpg\"/>\n",
       "</a>\n",
       "</div>\n",
       "<div class=\"comment\">\n",
       "<h3>\n",
       "<span class=\"comment-vote\">\n",
       "<span class=\"votes vote-count\">21</span>\n",
       "<input type=\"hidden\" value=\"1451128496\"/>\n",
       "<a class=\"j a_show_login\" data-id=\"1451128496\" href=\"javascript:;\" onclick=\"\">有用</a>\n",
       "<!-- 删除短评 -->\n",
       "</span>\n",
       "<span class=\"comment-info\">\n",
       "<a class=\"\" href=\"https://www.douban.com/people/lephemera/\">蜉蝣</a>\n",
       "<span>看过</span>\n",
       "<span class=\"allstar30 rating\" title=\"还行\"></span>\n",
       "<span class=\"comment-time\" title=\"2018-08-26 22:37:42\">\n",
       "                    2018-08-26 22:37:42\n",
       "                </span>\n",
       "<span class=\"comment-location\"></span>\n",
       "</span>\n",
       "</h3>\n",
       "<p class=\"comment-content\">\n",
       "<span class=\"short\">可算完结了！最后一集看哭是怎么回事！高贵妃和袁春望是在用演技隔空凑CP么。</span>\n",
       "</p>\n",
       "<div class=\"comment-report\" data-url=\"https://movie.douban.com/subject/26999852/comments?comment_id=1451128496\"></div>\n",
       "</div>\n",
       "<script>\n",
       "        (function(){\n",
       "            $(\"body\").delegate(\".comment-item\", 'mouseenter mouseleave', function (e) {\n",
       "                switch (e.type) {\n",
       "                    case \"mouseenter\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'visible');\n",
       "                    break;\n",
       "                    case \"mouseleave\":\n",
       "                    $(this).find(\".comment-report\").css('visibility', 'hidden');\n",
       "                    break;\n",
       "                }\n",
       "            });\n",
       "        })()\n",
       "    </script>\n",
       "</div>\n",
       "<div class=\"center\" id=\"paginator\">\n",
       "<a data-page=\"first\" href=\"?start=0&amp;limit=20&amp;sort=new_score&amp;status=P&amp;percent_type=m\">&lt;&lt; 首页</a>\n",
       "<a data-page=\"prev\" href=\"?start=-20&amp;limit=-20&amp;sort=new_score&amp;status=P&amp;percent_type=m\">&lt; 前页</a>\n",
       "<a class=\"next\" data-page=\"next\" href=\"?start=20&amp;limit=20&amp;sort=new_score&amp;status=P&amp;percent_type=m\">后页 &gt;</a>\n",
       "</div>\n",
       "</div>\n",
       "</div>\n",
       "<div class=\"aside\">\n",
       "<!-- 加载 raikiri.js -->\n",
       "<p class=\"pl2\">&gt; <a href=\"https://movie.douban.com/subject/26999852/\">去 延禧攻略 的页面</a></p>\n",
       "<div class=\"indent\">\n",
       "<div class=\"movie-summary\">\n",
       "<link href=\"https://img3.doubanio.com/cuphead/movie-static/subject/btn_complete_video.3d5bf.css\" rel=\"stylesheet\"/>\n",
       "<div class=\"movie-pic\"><a href=\"https://movie.douban.com/subject/26999852/\"><img alt=\"延禧攻略\" rel=\"v:image\" src=\"https://img2.doubanio.com/view/photo/s_ratio_poster/public/p2509891341.jpg\" title=\"延禧攻略\" width=\"100px\"/></a></div>\n",
       "<span class=\"attrs\">\n",
       "<p>\n",
       "<span class=\"pl\">导演:</span>\n",
       "<a href=\"https://www.douban.com/personage/27588554/\">惠楷栋</a> / <a href=\"https://www.douban.com/personage/27553511/\">温德光</a>\n",
       "</p>\n",
       "<p>\n",
       "<span class=\"pl\">主演:</span>\n",
       "<a href=\"https://www.douban.com/personage/27480659/\">秦岚</a> / <a href=\"https://www.douban.com/personage/27503855/\">聂远</a> / <a href=\"https://www.douban.com/personage/27225443/\">佘诗曼</a> / <a href=\"https://www.douban.com/personage/27568508/\">吴谨言</a> / <a href=\"https://www.douban.com/personage/27580000/\">许凯</a> / <a href=\"https://www.douban.com/personage/27481346/\">王冠逸</a> / <a href=\"https://www.douban.com/personage/27541042/\">谭卓</a> / <a href=\"https://www.douban.com/personage/27491509/\">苏青</a> / <a href=\"https://www.douban.com/personage/27483022/\">王媛可</a> / <a href=\"https://www.douban.com/personage/27494809/\">张嘉倪</a>\n",
       "</p>\n",
       "<p>\n",
       "<span class=\"pl\">类型:</span>\n",
       "                剧情, 爱情, 古装\n",
       "        </p>\n",
       "<p>\n",
       "<span class=\"pl\">地区:</span>\n",
       "                中国大陆\n",
       "        </p>\n",
       "<p>\n",
       "<span class=\"pl\">片长:</span>\n",
       "                45分钟\n",
       "        </p>\n",
       "<p>\n",
       "<span class=\"pl\">首播日期:</span>\n",
       "                2018-07-19(中国大陆)\n",
       "        </p>\n",
       "<a class=\"trail_link\" data-trailer-id=\"223492\" href=\"https://movie.douban.com/trailer/223492/#content\">预告片</a>\n",
       "</span>\n",
       "</div>\n",
       "</div>\n",
       "<div id=\"dale_movie_subject_comments_bottom_right\"></div>\n",
       "<a href=\"https://help.douban.com/blackroom\">&gt; 豆瓣违规公示</a>\n",
       "</div>\n",
       "<div class=\"extra\">\n",
       "</div>\n",
       "</div>\n",
       "</div>\n",
       "<div id=\"footer\">\n",
       "<div class=\"footer-extra\"></div>\n",
       "<span class=\"fleft gray-link\" id=\"icp\">\n",
       "    © 2005－2024 douban.com, all rights reserved 北京豆网科技有限公司\n",
       "</span>\n",
       "<a href=\"https://www.douban.com/hnypt/variformcyst.py\" style=\"display: none;\"></a>\n",
       "<span class=\"fright\">\n",
       "<a href=\"https://www.douban.com/about\">关于豆瓣</a>\n",
       "    · <a href=\"https://www.douban.com/jobs\">在豆瓣工作</a>\n",
       "    · <a href=\"https://www.douban.com/about?topic=contactus\">联系我们</a>\n",
       "    · <a href=\"https://www.douban.com/about/legal\">法律声明</a>\n",
       "    \n",
       "    · <a href=\"https://help.douban.com/?app=movie\" target=\"_blank\">帮助中心</a>\n",
       "    · <a href=\"https://www.douban.com/doubanapp/\">移动应用</a>\n",
       "</span>\n",
       "</div>\n",
       "</div>\n",
       "<!-- COLLECTED JS -->\n",
       "<link href=\"https://img1.doubanio.com/f/vendors/e8a7261937da62636d22ca4c579efc4a4d759b1b/css/ui/dialog.css\" rel=\"stylesheet\" type=\"text/css\"/>\n",
       "<link href=\"https://img1.doubanio.com/cuphead/movie-static/mod/login_pop.b2f60.css\" rel=\"stylesheet\" type=\"text/css\"/>\n",
       "<script src=\"https://img1.doubanio.com/f/vendors/f25ae221544f39046484a823776f3aa01769ee10/js/ui/dialog.js\" type=\"text/javascript\"></script>\n",
       "<script type=\"text/javascript\">\n",
       "        var HTTPS_DB = \"https://www.douban.com\"\n",
       "    </script>\n",
       "<script src=\"https://img1.doubanio.com/cuphead/movie-static/mod/login_pop.7f2b9.js\" type=\"text/javascript\"></script>\n",
       "<script src=\"https://img1.doubanio.com/f/vendors/f25ae221544f39046484a823776f3aa01769ee10/js/ui/dialog.js\" type=\"text/javascript\"></script>\n",
       "<script type=\"text/javascript\">\n",
       "    (function (global) {\n",
       "        var newNode = global.document.createElement('script'),\n",
       "            existingNode = global.document.getElementsByTagName('script')[0],\n",
       "            adSource = '//erebor.douban.com/',\n",
       "            userId = '',\n",
       "            browserId = 'JHeIo9vhykQ',\n",
       "            criteria = '3:/subject/26999852/comments?percent_type=m&amp;start=0&amp;limit=20&amp;status=P&amp;sort=new_score&amp;comments_only=1?start=20',\n",
       "            preview = '',\n",
       "            debug = false,\n",
       "            adSlots = ['dale_movie_subject_comments_bottom_right'];\n",
       "\n",
       "        global.DoubanAdRequest = {src: adSource, uid: userId, bid: browserId, crtr: criteria, prv: preview, debug: debug};\n",
       "        global.DoubanAdSlots = (global.DoubanAdSlots || []).concat(adSlots);\n",
       "\n",
       "        newNode.setAttribute('type', 'text/javascript');\n",
       "        newNode.setAttribute('src', '//img1.doubanio.com/bG90MDZqMy9mL2FkanMvYzhmZjE5MGNhYzNkN2UyMWJjMTI3NzJlYWNkOWVkODZhMmFjMzdhMi9hZC5yZWxlYXNlLmpz?company_token=kX69T8w1wyOE-dale');\n",
       "        newNode.setAttribute('async', true);\n",
       "        existingNode.parentNode.insertBefore(newNode, existingNode);\n",
       "    })(this);\n",
       "</script>\n",
       "<script src=\"https://img1.doubanio.com/f/vendors/33bb917eefbefa3c41973b87efd26faa433e980e/subject-comments/comments.js\"></script>\n",
       "<script>\n",
       "        if (window.SUBJECT_COMMENTS) {\n",
       "            // expand handler\n",
       "            SUBJECT_COMMENTS.createExpandHandler({\n",
       "                root: document.getElementById('comments'),\n",
       "            });\n",
       "            // comments \n",
       "            SUBJECT_COMMENTS.createComments({\n",
       "                subject_id: \"26999852\",\n",
       "                state: {\n",
       "                    percent_type: \"m\",\n",
       "                    start: parseInt(\"0\", 10),\n",
       "                    limit: parseInt(\"20\", 10),\n",
       "                    status: \"P\",\n",
       "                    sort: \"new_score\"\n",
       "                },\n",
       "                afterFetch: () => {\n",
       "                    if (window.ADD_REPORT) {\n",
       "                        window.ADD_REPORT()\n",
       "                    }\n",
       "                }\n",
       "            });\n",
       "            // vote\n",
       "            SUBJECT_COMMENTS.createVoteHandler({\n",
       "                api: '/j/comment/vote',\n",
       "                root: document.getElementById('comments'),\n",
       "                voteSelector: '.vote-comment',\n",
       "                textSelector: '.vote-count',\n",
       "                is_released: \"true\",\n",
       "                alert_text: \"该剧尚未播出，不能投票噢\",\n",
       "                afterVote: function (elem) {\n",
       "                    var parentNode = elem.parentNode;\n",
       "                    var successElem = document.createElement('span');\n",
       "                    successElem.innerHTML = '已投票';\n",
       "                    parentNode.removeChild(elem);\n",
       "                    parentNode.appendChild(successElem);\n",
       "                }\n",
       "            })\n",
       "        }\n",
       "    </script>\n",
       "<script type=\"text/javascript\">\n",
       "var _paq = _paq || [];\n",
       "_paq.push(['trackPageView']);\n",
       "_paq.push(['enableLinkTracking']);\n",
       "(function() {\n",
       "    var p=(('https:' == document.location.protocol) ? 'https' : 'http'), u=p+'://fundin.douban.com/';\n",
       "    _paq.push(['setTrackerUrl', u+'piwik']);\n",
       "    _paq.push(['setSiteId', '100001']);\n",
       "    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];\n",
       "    g.type='text/javascript';\n",
       "    g.defer=true;\n",
       "    g.async=true;\n",
       "    g.src=p+'://img3.doubanio.com/dae/fundin/piwik.js';\n",
       "    s.parentNode.insertBefore(g,s);\n",
       "})();\n",
       "</script>\n",
       "<script type=\"text/javascript\">\n",
       "var setMethodWithNs = function(namespace) {\n",
       "  var ns = namespace ? namespace + '.' : ''\n",
       "    , fn = function(string) {\n",
       "        if(!ns) {return string}\n",
       "        return ns + string\n",
       "      }\n",
       "  return fn\n",
       "}\n",
       "\n",
       "var gaWithNamespace = function(fn, namespace) {\n",
       "  var method = setMethodWithNs(namespace)\n",
       "  fn.call(this, method)\n",
       "}\n",
       "\n",
       "var _gaq = _gaq || []\n",
       "  , accounts = [\n",
       "      { id: 'UA-7019765-1', namespace: 'douban' }\n",
       "    , { id: 'UA-7019765-19', namespace: '' }\n",
       "    ]\n",
       "  , gaInit = function(account) {\n",
       "      gaWithNamespace(function(method) {\n",
       "        gaInitFn.call(this, method, account)\n",
       "      }, account.namespace)\n",
       "    }\n",
       "  , gaInitFn = function(method, account) {\n",
       "      _gaq.push([method('_setAccount'), account.id]);\n",
       "      _gaq.push([method('_setSampleRate'), '5']);\n",
       "\n",
       "      \n",
       "  _gaq.push([method('_addOrganic'), 'google', 'q'])\n",
       "  _gaq.push([method('_addOrganic'), 'baidu', 'wd'])\n",
       "  _gaq.push([method('_addOrganic'), 'soso', 'w'])\n",
       "  _gaq.push([method('_addOrganic'), 'youdao', 'q'])\n",
       "  _gaq.push([method('_addOrganic'), 'so.360.cn', 'q'])\n",
       "  _gaq.push([method('_addOrganic'), 'sogou', 'query'])\n",
       "  if (account.namespace) {\n",
       "    _gaq.push([method('_addIgnoredOrganic'), '豆瓣'])\n",
       "    _gaq.push([method('_addIgnoredOrganic'), 'douban'])\n",
       "    _gaq.push([method('_addIgnoredOrganic'), '豆瓣网'])\n",
       "    _gaq.push([method('_addIgnoredOrganic'), 'www.douban.com'])\n",
       "  }\n",
       "\n",
       "      if (account.namespace === 'douban') {\n",
       "        _gaq.push([method('_setDomainName'), '.douban.com'])\n",
       "      }\n",
       "\n",
       "        _gaq.push([method('_setCustomVar'), 1, 'responsive_view_mode', 'desktop', 3])\n",
       "\n",
       "        _gaq.push([method('_setCustomVar'), 2, 'login_status', '0', 2]);\n",
       "\n",
       "      _gaq.push([method('_trackPageview')])\n",
       "    }\n",
       "\n",
       "for(var i = 0, l = accounts.length; i < l; i++) {\n",
       "  var account = accounts[i]\n",
       "  gaInit(account)\n",
       "}\n",
       "\n",
       "\n",
       ";(function() {\n",
       "    var ga = document.createElement('script');\n",
       "    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\n",
       "    ga.setAttribute('async', 'true');\n",
       "    document.documentElement.firstChild.appendChild(ga);\n",
       "})()\n",
       "</script>\n",
       "<!-- dae-web-movie--default-7479b964bf-7mcsq-->\n",
       "<script>_SPLITTEST=''</script>\n",
       "</body>\n",
       "</html>"
      ]
     },
     "execution_count": 34,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "response.encoding='utf-8'\n",
    "soup = BeautifulSoup(response.text, 'lxml')\n",
    "soup"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "id": "977860dd",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>评论内容</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "Empty DataFrame\n",
       "Columns: [评论内容]\n",
       "Index: []"
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df_low"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "id": "481fea50",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "                                                 评论内容\n",
      "0           哈哈哈哈哈哈看到贵妃跟皇后比月薪那里真的忍不住笑出来了，这是我看过最小家子气的贵妃\n",
      "1                                             浪费一个佘诗曼\n",
      "2   本来看剧照觉得还行，最起码色调不再烂俗，看着舒服一些，人物造型好像也像那么回事，还觉得挺难过...\n",
      "3   于妈照搬了正午的中性灰和降饱和度之后的成片效果，质感有了显著提升，只是清朝剧应该是最不适合用...\n",
      "4   于妈这次用力过猛 服道化不浮夸不代表一定要这么“阴冷”，假大空，人物锐化过度导致所有女性角色...\n",
      "..                                                ...\n",
      "95  1、宫女自戕是大罪。\\n2、这是一个君权封建社会，宫女挑战君权，不可能。\\n3、主子为宫女跪...\n",
      "96  剧情真的很多硬伤，没逻辑的地方太多。比如女主装傻骗高贵妃，高贵妃从来没想过为啥一个傻子可以被...\n",
      "97  看了预告，在拿传统文化和非物质文化遗产说事，什么点翠，绒花，珠绣，盘金秀，切！先好好讲故事，...\n",
      "98  观众很好骗，对吗？看似反套路，实质依旧是一部毫无女性意识的作品，思想缺乏现代性，从道德意义上...\n",
      "99      不知道为什么有这么多人吹爆这种垃圾剧，看来于正这种毒瘤能在影视文化屹立不倒也不是没有原因的\n",
      "\n",
      "[100 rows x 1 columns]\n"
     ]
    }
   ],
   "source": [
    "##爬取好评\n",
    "target = \"https://movie.douban.com/subject/26999852/comments?percent_type=l&start=0&limit=20&status=P&sort=new_score&comments_only=1\"\n",
    " \n",
    "max_pages = 5\n",
    "comments_high = []\n",
    "for page in range(max_pages):\n",
    "    # 获取HTML页面信息\n",
    "    response = requests.get(url = target\n",
    "                            + '?start=' + str(page * 20)\n",
    "                            , headers = headers\n",
    "                            )\n",
    "    response.encoding = 'utf-8'\n",
    "    soup = BeautifulSoup(response.text, 'lxml')\n",
    "    comment_elements_high = soup.find_all('span', {'class': 'short'})\n",
    "    for element in comment_elements_high:\n",
    "        comments_high.append(element.text.strip())\n",
    "        time.sleep(1)\n",
    "data = {'评论内容': comments_high}\n",
    "df_high = pd.DataFrame(data)\n",
    "print(df_high)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "id": "c0bea5af",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>评论内容</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>哈哈哈哈哈哈看到贵妃跟皇后比月薪那里真的忍不住笑出来了，这是我看过最小家子气的贵妃</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>浪费一个佘诗曼</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>本来看剧照觉得还行，最起码色调不再烂俗，看着舒服一些，人物造型好像也像那么回事，还觉得挺难过...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>于妈照搬了正午的中性灰和降饱和度之后的成片效果，质感有了显著提升，只是清朝剧应该是最不适合用...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>于妈这次用力过猛 服道化不浮夸不代表一定要这么“阴冷”，假大空，人物锐化过度导致所有女性角色...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>95</th>\n",
       "      <td>1、宫女自戕是大罪。\\n2、这是一个君权封建社会，宫女挑战君权，不可能。\\n3、主子为宫女跪...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>96</th>\n",
       "      <td>剧情真的很多硬伤，没逻辑的地方太多。比如女主装傻骗高贵妃，高贵妃从来没想过为啥一个傻子可以被...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>97</th>\n",
       "      <td>看了预告，在拿传统文化和非物质文化遗产说事，什么点翠，绒花，珠绣，盘金秀，切！先好好讲故事，...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>98</th>\n",
       "      <td>观众很好骗，对吗？看似反套路，实质依旧是一部毫无女性意识的作品，思想缺乏现代性，从道德意义上...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>99</th>\n",
       "      <td>不知道为什么有这么多人吹爆这种垃圾剧，看来于正这种毒瘤能在影视文化屹立不倒也不是没有原因的</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>100 rows × 1 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 评论内容\n",
       "0           哈哈哈哈哈哈看到贵妃跟皇后比月薪那里真的忍不住笑出来了，这是我看过最小家子气的贵妃\n",
       "1                                             浪费一个佘诗曼\n",
       "2   本来看剧照觉得还行，最起码色调不再烂俗，看着舒服一些，人物造型好像也像那么回事，还觉得挺难过...\n",
       "3   于妈照搬了正午的中性灰和降饱和度之后的成片效果，质感有了显著提升，只是清朝剧应该是最不适合用...\n",
       "4   于妈这次用力过猛 服道化不浮夸不代表一定要这么“阴冷”，假大空，人物锐化过度导致所有女性角色...\n",
       "..                                                ...\n",
       "95  1、宫女自戕是大罪。\\n2、这是一个君权封建社会，宫女挑战君权，不可能。\\n3、主子为宫女跪...\n",
       "96  剧情真的很多硬伤，没逻辑的地方太多。比如女主装傻骗高贵妃，高贵妃从来没想过为啥一个傻子可以被...\n",
       "97  看了预告，在拿传统文化和非物质文化遗产说事，什么点翠，绒花，珠绣，盘金秀，切！先好好讲故事，...\n",
       "98  观众很好骗，对吗？看似反套路，实质依旧是一部毫无女性意识的作品，思想缺乏现代性，从道德意义上...\n",
       "99      不知道为什么有这么多人吹爆这种垃圾剧，看来于正这种毒瘤能在影视文化屹立不倒也不是没有原因的\n",
       "\n",
       "[100 rows x 1 columns]"
      ]
     },
     "execution_count": 38,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df_high"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "id": "0bcf4b34",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>评论内容</th>\n",
       "      <th>评分</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>哈哈哈哈哈哈看到贵妃跟皇后比月薪那里真的忍不住笑出来了，这是我看过最小家子气的贵妃</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>浪费一个佘诗曼</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>本来看剧照觉得还行，最起码色调不再烂俗，看着舒服一些，人物造型好像也像那么回事，还觉得挺难过...</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>于妈照搬了正午的中性灰和降饱和度之后的成片效果，质感有了显著提升，只是清朝剧应该是最不适合用...</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>于妈这次用力过猛 服道化不浮夸不代表一定要这么“阴冷”，假大空，人物锐化过度导致所有女性角色...</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>95</th>\n",
       "      <td>1、宫女自戕是大罪。\\n2、这是一个君权封建社会，宫女挑战君权，不可能。\\n3、主子为宫女跪...</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>96</th>\n",
       "      <td>剧情真的很多硬伤，没逻辑的地方太多。比如女主装傻骗高贵妃，高贵妃从来没想过为啥一个傻子可以被...</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>97</th>\n",
       "      <td>看了预告，在拿传统文化和非物质文化遗产说事，什么点翠，绒花，珠绣，盘金秀，切！先好好讲故事，...</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>98</th>\n",
       "      <td>观众很好骗，对吗？看似反套路，实质依旧是一部毫无女性意识的作品，思想缺乏现代性，从道德意义上...</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>99</th>\n",
       "      <td>不知道为什么有这么多人吹爆这种垃圾剧，看来于正这种毒瘤能在影视文化屹立不倒也不是没有原因的</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>100 rows × 2 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 评论内容  评分\n",
       "0           哈哈哈哈哈哈看到贵妃跟皇后比月薪那里真的忍不住笑出来了，这是我看过最小家子气的贵妃   1\n",
       "1                                             浪费一个佘诗曼   1\n",
       "2   本来看剧照觉得还行，最起码色调不再烂俗，看着舒服一些，人物造型好像也像那么回事，还觉得挺难过...   1\n",
       "3   于妈照搬了正午的中性灰和降饱和度之后的成片效果，质感有了显著提升，只是清朝剧应该是最不适合用...   1\n",
       "4   于妈这次用力过猛 服道化不浮夸不代表一定要这么“阴冷”，假大空，人物锐化过度导致所有女性角色...   1\n",
       "..                                                ...  ..\n",
       "95  1、宫女自戕是大罪。\\n2、这是一个君权封建社会，宫女挑战君权，不可能。\\n3、主子为宫女跪...   1\n",
       "96  剧情真的很多硬伤，没逻辑的地方太多。比如女主装傻骗高贵妃，高贵妃从来没想过为啥一个傻子可以被...   1\n",
       "97  看了预告，在拿传统文化和非物质文化遗产说事，什么点翠，绒花，珠绣，盘金秀，切！先好好讲故事，...   1\n",
       "98  观众很好骗，对吗？看似反套路，实质依旧是一部毫无女性意识的作品，思想缺乏现代性，从道德意义上...   1\n",
       "99      不知道为什么有这么多人吹爆这种垃圾剧，看来于正这种毒瘤能在影视文化屹立不倒也不是没有原因的   1\n",
       "\n",
       "[100 rows x 2 columns]"
      ]
     },
     "execution_count": 39,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df_high[\"评分\"]=1\n",
    "df_high"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 40,
   "id": "554c90c7",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>评论内容</th>\n",
       "      <th>评分</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>于正很懂，他知道大家不喜欢看宫斗了，于是拍了一部百合剧，一群不想跟皇帝睡、压根不搭理皇帝的女...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>其实无论是“大红大绿”还是“灰色调”，色彩本身没有高下之分，关键看是否合时宜。画面不错，希望...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>讲真每次看到高贵妃和舒贵人在屋里商议大事的时候，我就想到宠物小精灵里面的火箭队武藏小次郎，每...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>比我想的好。富察皇后感觉很棒啊</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>于正这次的确脱胎换骨，但，所谓脱胎换骨也就是和自己比。依旧各种套路与反套路组合拳，撑死《甄嬛...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>95</th>\n",
       "      <td>很喜欢这剧的调色，妆发也很有感觉。这个皇帝真有意思，毒舌就算了，还一言不合就拳打脚踢😂，剧还...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>96</th>\n",
       "      <td>看片花调色总感觉阴森森的，正片看起来倒还可以，和于妈以往风格不一样，剧情还不错，女主难得一开...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>97</th>\n",
       "      <td>大长今+甄嬛传+蹭如懿传，于正真的投机倒把能手，和所有的逼都让女主角装了</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>98</th>\n",
       "      <td>男主角怎么这么毒舌，哈哈哈哈哈哈哈哈笑死我了</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>99</th>\n",
       "      <td>可算完结了！最后一集看哭是怎么回事！高贵妃和袁春望是在用演技隔空凑CP么。</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>100 rows × 2 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 评论内容  评分\n",
       "0   于正很懂，他知道大家不喜欢看宫斗了，于是拍了一部百合剧，一群不想跟皇帝睡、压根不搭理皇帝的女...   0\n",
       "1   其实无论是“大红大绿”还是“灰色调”，色彩本身没有高下之分，关键看是否合时宜。画面不错，希望...   0\n",
       "2   讲真每次看到高贵妃和舒贵人在屋里商议大事的时候，我就想到宠物小精灵里面的火箭队武藏小次郎，每...   0\n",
       "3                                     比我想的好。富察皇后感觉很棒啊   0\n",
       "4   于正这次的确脱胎换骨，但，所谓脱胎换骨也就是和自己比。依旧各种套路与反套路组合拳，撑死《甄嬛...   0\n",
       "..                                                ...  ..\n",
       "95  很喜欢这剧的调色，妆发也很有感觉。这个皇帝真有意思，毒舌就算了，还一言不合就拳打脚踢😂，剧还...   0\n",
       "96  看片花调色总感觉阴森森的，正片看起来倒还可以，和于妈以往风格不一样，剧情还不错，女主难得一开...   0\n",
       "97               大长今+甄嬛传+蹭如懿传，于正真的投机倒把能手，和所有的逼都让女主角装了   0\n",
       "98                             男主角怎么这么毒舌，哈哈哈哈哈哈哈哈笑死我了   0\n",
       "99              可算完结了！最后一集看哭是怎么回事！高贵妃和袁春望是在用演技隔空凑CP么。   0\n",
       "\n",
       "[100 rows x 2 columns]"
      ]
     },
     "execution_count": 40,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df_low[\"评分\"]=0\n",
    "df_low"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 41,
   "id": "cf150101",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>评论内容</th>\n",
       "      <th>评分</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>哈哈哈哈哈哈看到贵妃跟皇后比月薪那里真的忍不住笑出来了，这是我看过最小家子气的贵妃</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>浪费一个佘诗曼</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>本来看剧照觉得还行，最起码色调不再烂俗，看着舒服一些，人物造型好像也像那么回事，还觉得挺难过...</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>于妈照搬了正午的中性灰和降饱和度之后的成片效果，质感有了显著提升，只是清朝剧应该是最不适合用...</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>于妈这次用力过猛 服道化不浮夸不代表一定要这么“阴冷”，假大空，人物锐化过度导致所有女性角色...</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>95</th>\n",
       "      <td>很喜欢这剧的调色，妆发也很有感觉。这个皇帝真有意思，毒舌就算了，还一言不合就拳打脚踢😂，剧还...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>96</th>\n",
       "      <td>看片花调色总感觉阴森森的，正片看起来倒还可以，和于妈以往风格不一样，剧情还不错，女主难得一开...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>97</th>\n",
       "      <td>大长今+甄嬛传+蹭如懿传，于正真的投机倒把能手，和所有的逼都让女主角装了</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>98</th>\n",
       "      <td>男主角怎么这么毒舌，哈哈哈哈哈哈哈哈笑死我了</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>99</th>\n",
       "      <td>可算完结了！最后一集看哭是怎么回事！高贵妃和袁春望是在用演技隔空凑CP么。</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>200 rows × 2 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 评论内容  评分\n",
       "0           哈哈哈哈哈哈看到贵妃跟皇后比月薪那里真的忍不住笑出来了，这是我看过最小家子气的贵妃   1\n",
       "1                                             浪费一个佘诗曼   1\n",
       "2   本来看剧照觉得还行，最起码色调不再烂俗，看着舒服一些，人物造型好像也像那么回事，还觉得挺难过...   1\n",
       "3   于妈照搬了正午的中性灰和降饱和度之后的成片效果，质感有了显著提升，只是清朝剧应该是最不适合用...   1\n",
       "4   于妈这次用力过猛 服道化不浮夸不代表一定要这么“阴冷”，假大空，人物锐化过度导致所有女性角色...   1\n",
       "..                                                ...  ..\n",
       "95  很喜欢这剧的调色，妆发也很有感觉。这个皇帝真有意思，毒舌就算了，还一言不合就拳打脚踢😂，剧还...   0\n",
       "96  看片花调色总感觉阴森森的，正片看起来倒还可以，和于妈以往风格不一样，剧情还不错，女主难得一开...   0\n",
       "97               大长今+甄嬛传+蹭如懿传，于正真的投机倒把能手，和所有的逼都让女主角装了   0\n",
       "98                             男主角怎么这么毒舌，哈哈哈哈哈哈哈哈笑死我了   0\n",
       "99              可算完结了！最后一集看哭是怎么回事！高贵妃和袁春望是在用演技隔空凑CP么。   0\n",
       "\n",
       "[200 rows x 2 columns]"
      ]
     },
     "execution_count": 41,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df1=pd.concat([df_high,df_low],axis=0)\n",
    "df1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "id": "2d08cdd2",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Axes: ylabel='count'>"
      ]
     },
     "execution_count": 42,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAZkAAAGFCAYAAAAvsY4uAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjguMCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy81sbWrAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAgxUlEQVR4nO3deXiU5b3/8c9kT0wAISTsyCKLyI5VbFXEFavdUdQi/eHS1vZnLT1Ke3pc2tP+PF1sPUdrrVqPVVxLq9ZqrYCgFAUEQUAggCxhS0IICdmXmfn9MYLsJJN55vss79d1cYUMXl4fmfh8nvu+57nvUDQajQoAAAekWAcAAPgXJQMAcAwlAwBwDCUDAHAMJQMAcAwlAwBwDCUDAHAMJQMAcAwlAwBwDCUDAHAMJQMAcAwlAwBwDCUDAHAMJQMAcAwlAwBwDCUDAHAMJQMAcAwlAwBwDCUDAHAMJQMAcAwlAwBwDCUDAHAMJQMAcAwlAwBwDCUDAHAMJQM46J133tFVV12lHj16KBQK6eWXX7aOBCQVJQM4qLa2ViNHjtRDDz1kHQUwkWYdAPCzSZMmadKkSdYxADOMZAAAjqFkAACOoWQAAI6hZAAAjqFkAACO4dNlgINqamq0adOmg99v2bJFK1euVOfOndWnTx/DZEByhKLRaNQ6BOBXCxYs0IUXXnjU69OmTdOTTz6Z/EBAklEyAADHsCYDAHAMJQMAcAwlAwBwDCUDAHAMJQMAcAwlAwBwDCUDAHAMJQMAcAwlAwBwDHuXAa1QWdek0v2NKqtuOPi1uqFFLeGIWiJRhSNRtUSiB7+PRqWUUEjpqSGlpoSUlhJ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FhvvPGGevbsmbh0SVbGdBkAl/H6NH6bSmbUqFEKhUIKhULHnBbLzs7Wgw8+mLBwyeb1OwYA/uP161KbSmbLli2KRqPq37+/li5dqq5dux78s4yMDBUUFCg1NTXhIZPF63cMAPzH6zMsbSqZvn37SpIikYgjYax5/Y4BgP94/brUppI51IYNG7RgwQKVlZUdVTp33313u4MlG0/7A3Ajr8+wxFUyjz32mL797W8rPz9f3bp1UygUOvhnoVDIkyWzx+N3CwD8KZAjmZ/97Gf6+c9/rpkzZyY6jxmv3y0A8CevX5viek5m3759mjx5cqKzmPL63QIAf6puaFFDc9g6RtziKpnJkyfrzTffTHQWU7UcuQzApbx8fYprumzgwIG66667tHjxYg0fPlzp6emH/fltt92WkHDJFI5ErSMAwDF5+foUikajbU7fr1+/4/8LQyFt3ry5XaEsPL14m+56eY11DAA4yqIfTlTPTtnWMeIS10hmy5Ytic5hLhz257M/ALwvHPbuSIat/j/R4uHhKAB/a/HwA/BxjWSmT59+wj9/4okn4gpjyctzngD8zcvXp7hKZt++fYd939zcrDVr1qiystKz58kwkgHgVl6+PsVVMi+99NJRr0UiEd16663q379/u0NZmJr5jqb3/KN1DAA4SkroCUkdrGPEJa5Plx1PUVGRJkyYoN27dyfqX5k8//qtNPde6xQAcLRvvycVnmGdIi4JXfj/+OOP1dLi0YeGUuLeKxQAnOXh61NcyWfMmHHY99FoVLt379Zrr72madOmJSRY0qWkn/yfAQALqQErmRUrVhz2fUpKirp27ar777//pJ88c60U7x62BsDngjaSmT9/fqJz2PPwmwjA5zx8fWpX8j179qioqEihUEiDBg067Dhmz/HwmwjA5zx8fYpr4b+2tlbTp09X9+7ddf755+u8885Tjx49dOONN6quri7RGZMjLdM6AQAcW2qGdYK4xVUyM2bM0Ntvv61XX31VlZWVqqys1CuvvKK3335bP/jBDxKdMTlOybdOAABHS82QsjtZp4hbXM/J5Ofna/bs2ZowYcJhr8+fP19XX3219uzZk6h8yVO2Tnr4HOsUAHC4jn2k76+2ThG3uEYydXV1Ki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hk5yf/vBhKMkgESKRL5tGxSPikXzlJBgFEyAADHpFgHAAD4FyUDAHAMJQMAcAwlAwBwDCUDAHAMJQMAcAwlAwBwDCUDtMPDDz+sfv36KSsrS2PHjtXChQutIwGuQskAcXrhhRd0++2368c//rFWrFih8847T5MmTVJxscc33wQSiCf+gTidffbZGjNmjH7/+98ffG3o0KH60pe+pPvuu88wGeAejGSAODQ1NWn58uW69NJLD3v90ksv1bvvvmuUCnAfSgaIQ3l5ucLhsAoLCw97vbCwUCUlJUapAPehZIB2CB2xw3I0Gj3qNSDIKBkgDvn5+UpNTT1q1FJWVnbU6AYIMkoGiENGRobGjh2rOXPmHPb6nDlzdO655xqlAtwnzToA4FUzZszQ1KlTNW7cOI0fP16PPvqoiouL9a1vfcs6GuAalAwQp2uuuUZ79+7VT3/6U+3evVtnnnmmXn/9dfXt29c6GuAaPCcDAHAMazIAAMdQMgAAx1AyAADHUDIAAMdQMgAAx1AyAADHUDIAAMdQMgAAx1AyAADHUDIAAMdQMgAAx1AyAADHUDIAAMdQMgAAx1AyAADHUDIAAMdQMgAAx1AyAADHUDIAAMdQMgAAx1AyAADHUDIAAMdQMgAAx1AyAADHUDIAAMdQMgAAx1AyAADH/H/2kaSny+cEkwAAAABJRU5ErkJggg==",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "df1[\"评分\"].value_counts().plot(kind=\"pie\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "0cccf0b1",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.12.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
